<template>
  <div>
    <el-input v-model="name"></el-input>
  </div>
</template>

<script>
export default {
  props: {
    value: String
  },
  data() {
    return {};
  },
  computed: {
    name: {
      get() {
        return this.value;
      },
      set(val) {
        this.$emit("update:value", val);
      }
    }
  }
};
</script>

<style></style>
